<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="/js/layui/css/layui.css" media="all">
    <script src="/js/layui/layui.js"></script>
</head>
<style type="text/css">
    .layui-form-label {
        width: 100px;
    }
</style>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body" pad15>
            <div class="layui-form" lay-filter="selFilter">
                <div class="layui-form-item">
                    <label class="layui-form-label">授权开始时间：</label>
                    <div class="layui-input-block">
                        <input style="width: 200px;" type="text" name="depName" id="starttime"
                               placeholder="" class="layui-input" lay-verify="required" disabled>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">授权结束时间：</label>
                    <div class="layui-input-block">
                        <input style="width: 200px;" type="text" name="depName" id="endtime"
                               class="layui-input" lay-verify="required" disabled>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script>
    layui.use('form',function () {
        var form=layui.form;
        var $=layui.$;
        var copyrightid=layui.data("banquan_stationId").getdata.copyright_station_id
        $.ajax({
            url:"/admin/copyrightstation/seeShouquanTime",
            type:'get',
            data:{
                copyrightId:copyrightid
            },
            success:function (res) {
                if(res.code==200){
                    $("#starttime").val(res.data.beginTime)
                    $("#endtime").val(res.data.endTime)
                    return;
                }
            },
            error:function () {
                layui.msg("网络原因查看失败",{
                    icon:2
                })
            }
        })
    })
</script>
</html>